package engine;
import UI.JFrame;
import classifier.ClassifierManager;
import tools.Reader;
import tools.Writer;


public class Main {

	/**
	 * @param args
	 */
	
	static JFrame frame;
	
	public static void main(String[] args) 
	{
		System.out.println("Hello World");
		
		/*
		 * Interface Utilisateur 
		 * 
		 */
		
		frame = new JFrame();
                frame.optStopWordIsOn();
		
		/*
		 * 
		 * 
		 */
		ClassifierManager.init();
		Reader.readStopWord("englishST.txt");
		
		// Lecture
		Reader.readTraining("train.txt");
		
		System.out.println("Reading Training Finish");
		
	//	System.out.println("Lapin "+ClassifierManager.getClassifierApple().getNumberOfTweet());
		
		Reader.readTest("test.txt");
		//ClassifierManager.getClassifierMicrosoft().printVocabularyPositive();
		
		Reader.readingRealResult("train.txt");
		
		System.out.println();
		System.out.println();
		
	//	System.out.println("Nbr Words : "+ClassifierManager.getClassifierGeneral().getNumberOfWords());
		
	//	System.out.println("Nbr Words diff : "+ClassifierManager.getClassifierGeneral().getNumberOfDifferentWords());
		
	//	ClassifierManager.getClassifierGeneral().printVocabularyPositive();
		//System.out.println(contentTrain);
		
		
		
		System.out.println("End of World");
	}

}
